package p270jp.pxv.android.commonObjects.model;

import android.support.p024v4.media.C0261e;
import com.google.android.gms.ads.C2047a;
import java.io.Serializable;
import p325m0.MutabilityOwnership;
import p389ob.SerializedName;

/* compiled from: Stamp.kt */
/* renamed from: jp.pxv.android.commonObjects.model.Stamp */
/* loaded from: classes2.dex */
public final class Stamp implements Serializable {
    @SerializedName("stamp_id")
    private final int stampId;
    @SerializedName("stamp_url")
    private final String stampUrl;

    public Stamp(int i, String str) {
        MutabilityOwnership.m3745m(str, "stampUrl");
        this.stampId = i;
        this.stampUrl = str;
    }

    public static /* synthetic */ Stamp copy$default(Stamp stamp, int i, String str, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            i = stamp.stampId;
        }
        if ((i2 & 2) != 0) {
            str = stamp.stampUrl;
        }
        return stamp.copy(i, str);
    }

    public final int component1() {
        return this.stampId;
    }

    public final String component2() {
        return this.stampUrl;
    }

    public final Stamp copy(int i, String str) {
        MutabilityOwnership.m3745m(str, "stampUrl");
        return new Stamp(i, str);
    }

    @Override // java.lang.Object
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof Stamp)) {
            return false;
        }
        Stamp stamp = (Stamp) obj;
        return this.stampId == stamp.stampId && MutabilityOwnership.m3749h(this.stampUrl, stamp.stampUrl);
    }

    public final int getStampId() {
        return this.stampId;
    }

    public final String getStampUrl() {
        return this.stampUrl;
    }

    @Override // java.lang.Object
    public int hashCode() {
        return this.stampUrl.hashCode() + (this.stampId * 31);
    }

    @Override // java.lang.Object
    public String toString() {
        StringBuilder c = C0261e.m12042c("Stamp(stampId=");
        c.append(this.stampId);
        c.append(", stampUrl=");
        return C2047a.m8800b(c, this.stampUrl, ')');
    }
}
